package com.zhenai.rocyuan.modules.threadupdown;

public class BaseSocket {

	// 服务器 ip
	public static final String SERVER_HOSE = "192.168.8.181";
	// 服务器 监听端口
	public static final int SERVER_PORT = 8888;
	// 服务器连接池最大连接数
	public static final int MAX_CONN_COUNT = 100;
	// 服务器线程名称前缀,后面为index
	public static final String THREAD_NAME = "hxpserver_";
	// 是否开启ip限制
	public static final boolean IP_LIMIT = false;
	// 开启ip限制时,允许的客户端ip
	public static final String[] ALLOW_IPS = new String[] { "127.0.0.1", "192.168.8.181", "localhost" };
	// 默认编码
	public static final String ENCODING = "UTF-8";
	// 用于服务器验证用户信息失败后,返回客户端的用户名和密码
	public static final String[] ERROR_NAME_PWD = new String[] { "error", "error" };
	// 读写文件缓冲大小
	public static final int BUFFER_SIZE = 8192;
	// 文件传输结束标识字符
	public static final String TRANSMIT_END = "hz_end";	

	public static int cc = 0;
	public static int cs = 0;

}
